package net.office.service;

import net.office.bean.Expense;

import java.util.List;

public interface ExpenseService {

    List<Expense> findAll();

    int deleteByPrimaryKey(Integer expenseId);

    List<Expense> findByExpense(Expense expense);

    int insert(Expense expense);

    Expense findOneByExpenseId(Integer expenseId);

    int updateByPrimaryKey(Expense expense);

    List<Expense> findAllByStaffId(int staffId);
}
